package raft

func (r *Raft) RegisterOptimizer(method func(entry CommandEntry) ([]CommandEntry, error)) {
	r.CommandOptimizer = method
}
